%{--used in show page--}%
<g:link action="edit" id="${params.id}" params="${params}" class="myform-linkbutton">
    Edit
</g:link>
<g:link action="delete" id="${params.id}" params="${params}" class="myform-linkbutton"
        onclick="return confirm('${message(code: 'default.delete.confirm')}');">
    Delete
</g:link>